const mongoose = require('mongoose');
var Schema = mongoose.Schema;

var dishSchema = new Schema({
    _id: String,
    name: String,
    mid: {type:String,ref:'Merchant'},
    img: String,
    price: Number,
    type: String
});

mongoose.model('Dish',dishSchema);